using System.ComponentModel;
using Microsoft.EntityFrameworkCore;

namespace Terra.Core.Common.Enums.Logging;

/// <summary>
/// 异常严重程度
/// </summary>
public enum ExceptionSeverity
{
    /// <summary>
    /// 警告
    /// </summary>
    Warning = 0,

    /// <summary>
    /// 错误
    /// </summary>
    Error = 1,

    /// <summary>
    /// 严重错误
    /// </summary>
    Critical = 2
}